package com.rfid.afd.presenter;

import com.rfid.afd.activity.view.ILocateView;
import com.rfid.afd.model.BaseUiModel;
import com.rfid.afd.model.LocateModel;
import com.rfid.db.bean.Rfid;

public class LocatePresenter extends BaseUiPresenter<ILocateView> {


    @Override
    protected BaseUiModel getModel() {
        return new LocateModel();
    }

    public LocatePresenter() {
    }

    public void locate(String shelf,Rfid rfid) {
        LocateModel model = (LocateModel) mBaseModel;
        model.locate(shelf,rfid);
    }

}
